//method list
class AVDMethod {
  static const String init = 'init';
  static const String getVersion = 'getVersion';
  static const String setLogParams = 'setLogParams';
  static const String joinRoom = 'joinRoom';
  static const String leaveRoom = 'leaveRoom';
  static const String closeRoom = 'closeRoom';
  static const String scheduleRoom = 'scheduleRoom';



  ///video
  static const String publishCamera = 'publishCamera';
  static const String unpublishCamera = 'unpublishCamera';
  static const String switchToLocalCamera = 'switchToLocalCamera';
  static const String attachRenderWithDeviceId = 'attachRenderWithDeviceId';
  static const String detachRenderWithDeviceId = 'detachRenderWithDeviceId';
  static const String subscribe = 'subscribe';
  static const String unsubscribe = 'unsubscribe';
  static const String getPublishedCameras = 'getPublishedCameras';



  ///audio
  static const String openMicrophone = 'openMicrophone';
  static const String closeMicrophone = 'closeMicrophone';
  static const String setSpeakerMode = 'setSpeakerMode';

  ///chat
  static const String sendPublicMessage = 'sendPublicMessage';
  static const String sendPrivateMessage = 'sendPrivateMessage';

  ///screen
  static const String publishScreen = 'publishScreen';
  static const String unpublishScreen = 'unpublishScreen';


}

//callback list //native 会触发此方法
class AVDMethodCallBack {
  static const String onInitResult = 'onInitResult';
  static const String onJoinResult = 'onJoinResult';
  static const String onScheduleRoomResult = 'onScheduleRoomResult';

  ///video
  static const String onPublishLocalResult = 'onPublishLocalResult';
  static const String onUnpublishLocalResult = 'onUnpublishLocalResult';
  static const String onPublishCameraNotify = 'onPublishCameraNotify';
  static const String onUnpublishCameraNotify = 'onUnpublishCameraNotify';

  ///chat
  static const String onPublicMessage = 'onPublicMessage';
  static const String onPrivateMessage = 'onPrivateMessage';

  ///usermanager
  static const String onUserJoinNotify = 'onUserJoinNotify';
  static const String onUserLeaveNotify = 'onUserLeaveNotify';

  ///screen
  static const String onPublishScreenNotify = 'onPublishScreenNotify';
  static const String onUnpublishScreenNotify = 'onUnpublishScreenNotify';
  static const String onSubscribeScreenResult = 'onSubscribeScreenResult';
  static const String onUnsubscribeScreenResult = 'onUnsubscribeScreenResult';




}